package cn.peifu.hrm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //排除数据库连接
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerApp1030 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApp1030.class);
    }
}
